﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model.ResultModel;
using Service.Service;

namespace Service.IService
{
    public interface IAuthService
    {
        Task<LoginResult> AuthenticateAsync(string username, string password);
        Task<bool> ChangePasswordAsync(string userId, string oldPassword, string newPassword);
        Task<bool> ResetPasswordAsync(string userId, string newPassword);
    }
}
